package com.linq.cool.api.vo;

import com.linq.cool.api.domain.SysDept;
import com.linq.cool.api.domain.SysRole;
import com.linq.cool.api.domain.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author: yqlin
 * @Date: 2021/1/28 12:49
 * @Description:
 * @Version: 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class SysUserVO extends SysUser {
    /**
     * 所属部门
     */
    private SysDept dept;

    /**
     * 角色列表
     */
    private List<SysRole> roles;
}
